C# |
---|
public Int32 ExecuteNonQuery(String sql) |
C# |
---|
// See the DataAccess setup code on the DataAccess class page. // Executes an Insert, Update or Delete statement. private static void ExecuteNonQuery(DataAccess dataAccess) { string sql = "delete from TableName where ID = 5"; int affectedRecords = dataAccess.ExecuteNonQuery(sql); } |